<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加用户</title>
    <link rel="shortcut icon"  href="images/favicon.ico"/>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<LINK href="<%=path %>/admin/css/admin.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=path %>/admin/js/myJs.js" charset=utf-8></script>
	<link href="<%=path %>/admin/css/myStyle.css" rel="stylesheet" type="text/css" />
	
	
	<!-- Jquery验证 -->
	<script type="text/javascript" src="<%=basePath%>js/jquery-1.5.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>validateForm/jquery.validate.js"></script>
	<script type="text/javascript" src="<%=basePath%>validateForm/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>validateForm/jquery.metadata.js"></script>
	<script type="text/javascript" src="<%=basePath%>js/check.js"></script>
  </head>
  
  <body>
  <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
  <TR height=20>
    <TD></TD></TR>
  <TR height=22>
    <TD style="PADDING-LEFT: 20px; FONT-WEIGHT: bold; COLOR: #ffffff" 
    align=middle background="<%=path %>/admin/images/title_bg2.jpg">添加OA用户 </TD></TR>
  <TR bgColor=#ecf4fc height=12>
    <TD></TD></TR>
  <TR height=20>
    <TD></TD></TR></TABLE>
  <form action="users_addUsers.html" id="addUsersForm"  method="post">
   <table cellSpacing=0 cellPadding=0 width="95%" align=center border=0 id="table1">
   	<tr>
		<td align="right">帐&nbsp;户&nbsp;名：</td>
		<td width="70%"><input type="text" name="users.usersName"  class="{required:true,minlength:5,checkName:true}" /></td>
	</tr>
	<tr>
		<td align="right">密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
		<td><input type="password" id="pwd" name="pwd" class="{required:true,minlength:5}"/></td>
	</tr>
	<tr>
		<td align="right">重复密码：</td>
		<td><input type="password" name="users.usersPwd" class="{equalTo:'#pwd'}" /></td>
	</tr>
	<tr>
		<td align="right">真实姓名：</td>
		<td><input type="text" name="users.realName" class="{required:true,minlength:2}"  /></td>
	</tr>
	<tr>
		<td align="right">性&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
		<td><input type="radio" name="users.sex" value="男" checked="checked" />男<input type="radio" name="users.sex" value="女" />女</td>
	</tr>
	<tr>
		<td align="right">联系电话：</td>
		<td><input type="text" name="users.phone" class="{required:true,minlength:6}" /></td>
	</tr>
	<tr>
		<td align="right">QQ号码：</td>
		<td><input type="text" name="users.qq" class="{required:true,minlength:7,number:true}" />
		<input type="hidden" value="管理员" name="users.usersType" /></td>
	</tr>
	<tr>
		<td align="center" colspan="2">
		<button type="submit" class="allDelete">添加OA用户</button>
		<button type="reset" class="allDelete" style="margin-right:440px;">重置</button>
		</td>
	</tr>
  </table>
	</form>


  </body>
</html>
